package com.liuzu.esys.service.impl;


import com.liuzu.esys.mapper.AdminMapper;
import com.liuzu.esys.pojo.Admin;
import com.liuzu.esys.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("/adminService")
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;

    @Override
    public Admin login(String name, String password) {
        return adminMapper.login(name,password);
    }
}
